<!DOCTYPE html>
<html>
<head>
    <title>sys_dict_group</title>
    <#include "/sys/newheader.html"/>
</head>
<body>
<div id="rrapp" class="main-content">
    <div class="box box-main">
        <div class="box-header">
            <div class="box-title">
                <i class="fa fa-list-alt"></i> 字典管理-sql
            </div>
            <div class="box-tools pull-right">
                <a href="javascript:void(0);" class="btn btn-default" id="btnSearch" title="查询" @click="toggle"><i
                        class="fa fa-filter"></i> {{btnText}}</a>
                <a class="btn btn-default" @click="create"><i class="fa fa-plus"></i> 新增</a>
                <button type="button" class="btn btn-default" @click="update"><i class="fa fa-pencil"></i> 修改</button>
                <button type="button" class="btn btn-default" @click="del"><i class="fa fa-trash-o"></i> 删除</button>
                <button type="button" class="btn btn-warning" @click="itemMgr"><i class="fa fa-list"></i>管理字典项</button>
            </div>
        </div>

        <div class="box-body">
            <div class="form-inline" v-show="isShowCond">
                <div class="form-group">
                    <label class="control-label">字典组编码</label>
                    <div class="control-inline">
                        <input type="text" class="form-control" v-model="qryForm.groupCode" @keyup.enter="query"
                               placeholder="字典组编码"/>
                    </div>
                </div>

                <div class="form-group">
                    <label class="control-label">字典组名称</label>
                    <div class="control-inline">
                        <input type="text" class="form-control" v-model="qryForm.groupName" @keyup.enter="query"
                               placeholder="字典组名称"/>
                    </div>
                </div>

                <div class="form-group">
                    <button type="submit" class="btn btn-primary btn-sm" @click="query">查询</button>
                    <button type="reset" class="btn btn-default btn-sm" @click="reset">重置</button>
                </div>
            </div>
            <table id="jqGrid"></table>
            <div id="jqGridPager"></div>
        </div>
    </div>
</div>

<script src="${base}/js/sys/dictGroup.js?_${.now?string['yyyyMMddhhmmSS']}"></script>
</body>
</html>
